﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MT.Master" AutoEventWireup="true" CodeBehind="BuySettlementSummary.aspx.cs" Inherits="MarginTrading.site.BuySettlementSummary" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

  <script type="text/javascript">
      $(document).ready(function() {
            $('#ctl00_MainContent_txtDate').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'both', buttonImage: 'images/CalendarIcon.gif', buttonImageOnly: 'true' });
      });
  </script>
  <fieldset>
    <table width="100%" cellpadding="5">
        <!-- Filter -->
        <tr valign="middle">
            <td>
                <asp:Label ID="lblAgent" runat="server" Text="Agent"></asp:Label>
                <asp:DropDownList ID="ddlAgent" runat="server"></asp:DropDownList>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="lblDate" runat="server" Text="To Date"></asp:Label>
                <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
            </td>
            
            <td align="right" style="width:30%">
                <asp:Button ID="SearchBtn" runat="server" Height="25px" Text="Search" 
                    Width="68px" onclick="SearchBtn_Click"/>
            </td>
        </tr>
        <!-- Filter -->
        
        <!-- Report -->
        <tr>
            <td colspan="2" valign="top">
                <rsweb:reportviewer ID="ReportViewer1" runat="server"
                    Width="100%" Height="900">
                </rsweb:reportviewer>
            </td>
        </tr>
        <!-- Report -->
    </table>

</fieldset>

</asp:Content>
